﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iptv.ResourceGather.Model
{
    /// <summary>
    /// 接口返回值
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiResponseResult<T>
    {
        /// <summary>
        /// 响应状态
        /// </summary>
        public bool Flag { get; set; }
        /// <summary>
        /// 错误代码
        /// </summary>
        public string ErrorCode { get; set; }
        /// <summary>
        /// 错误消息
        /// </summary>
        public string ErrorMessage { get; set; }
        /// <summary>
        /// 堆栈信息
        /// </summary>
        public string StarckMessage { get; set; }
        /// <summary>
        /// 响应对象
        /// </summary>
        public T ReturnValue { get; set; }
    }
}
